package com.ceit.dao;

import com.ceit.model.QuestioneKnowledge;
import com.ceit.model.QuestioneKnowledgeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestioneKnowledgeMapper {

    int countByExample(QuestioneKnowledgeExample example);

    int deleteByExample(QuestioneKnowledgeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(QuestioneKnowledge record);

    int insertSelective(QuestioneKnowledge record);

    List<QuestioneKnowledge> selectByExample(QuestioneKnowledgeExample example);

    QuestioneKnowledge selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") QuestioneKnowledge record, @Param("example") QuestioneKnowledgeExample example);

    int updateByExample(@Param("record") QuestioneKnowledge record, @Param("example") QuestioneKnowledgeExample example);

    int updateByPrimaryKeySelective(QuestioneKnowledge record);

    int updateByPrimaryKey(QuestioneKnowledge record);
}